﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace FanucVarProxy.ClientUserControl
{
    public partial class FormFlagValue : Form
    {
        public FormFlagValue()
        {
            InitializeComponent();
        }

        private void FormNumericRegValue_Load(object sender, EventArgs e)
        {
            this.radioButton_off.Checked = true;
        }

        public string FlagValue { get; private set; }

        private void button_set_Click(object sender, EventArgs e)
        {
            this.FlagValue = this.radioButton_off.Checked ? "OFF" : "ON";
            this.Close();
        }
    }
}
